<?php

namespace App\Enums;

enum AssistantStatus : string
{
    //未上钟
    case NotOnDuty = 'not_on';

    //上钟中
    case OnDuty = 'on';

    //内虚假
    case InnerVirtual = 'inner_virtual';

    //外虚假
    case OuterVirtual = 'outer_virtual';

    //请假
    case Leave = 'leave';

    //加班
    case Overtime = 'overtime';

    public static function getUsedStatus()
    {
        return [
            self::OnDuty,
            self::InnerVirtual,
            self::OuterVirtual,
        ];
    }

    public static function getUnUsedStatus()
    {
        return [
            self::NotOnDuty,
        ];
    }
}
